package com.simon.token;

import net.bytebuddy.asm.Advice.This;

public class Auth {
	
	private String Authorization;
	
	private String token;
	
	private String randomKey;
	
	public Auth() {
		
	}

	public Auth(String Authorization, String token, String randomKey) {
		super();
		this.Authorization = Authorization;
		this.token = token;
		this.randomKey = randomKey;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getRandomKey() {
		return randomKey;
	}

	public void setRandomKey(String randomKey) {
		this.randomKey = randomKey;
	}
	
	
	
	public String getAuthorization() {
		return Authorization;
	}

	public void setAuthorization(String authorization) {
		Authorization = authorization;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(this.token);
		sb.append("_");
		sb.append(this.randomKey);
		return sb.toString();
	}
}
